<#macro trunct name>
	<#assign length=name?length>
	<#if length&gt;15>
		${name[0..15]}
	<#else>
		${name}
	</#if>
</#macro>

<!DOCTYPE html>
<html>
<!--   v1.6.6.2 RDPROJECT-140 yl 2013-10-23 start-->
 <#assign web_title="【投资】投资理财_投资项目_小投资创业项目 - ${webname!}">
		<#assign web_description="${webname!}通过“风险保障金”和严格的风控体系，打造最安全的p2p网络借贷平台。${webname!}承诺提供百分百本金保障，为投资理财人士提供低门槛、高收益的个人投资理财服务。">
		<#assign meta_keywords="投资,投资理财,投资项目,小投资创业项目">
<!--   v1.6.6.2 RDPROJECT-140 yl 2013-10-23 end-->
<#include "../include/resource.html"> 
<body>
<#assign nid="invest">
<#include "../include/header.html">
<#include "../common/function.html"> 
<#include "../common/macro_invest.html">
	<!--子栏目 开始-->

	<!--子栏目 结束-->

	<!--header-end-->

<div id="container">
	<div class="investbox clearfix">
		<form action="" method="get" id="invest-search">
			<div class="box">
				<div class="box-title">详细搜索</div>
				<div class="box-con" style="background:#f5f5f4; padding:15px 20px; border:1px solid #ddd;border-top:none;">
					<ul class="select-A clearfix">
                    	<li>关 键 字：<input type="text" name="keywords" size="20" 
							value="${(param.keywords)!}" />
						</li>
                        <li>期　　限：
							<#if map??&&map.time_limit??>
								<@linkage name="time_limit" id="time_limit" default=map.time_limit type="value" nid="borrow_time_limit"  noselect="没有限制"/>
							<#else>
								<@linkage name="time_limit" id="time_limit" type="value" nid="borrow_time_limit" noselect="没有限制"/>
							</#if>
						</li>
							<li>标种：
							<#if map?exists&&map.type?exists>
								<@linkage name="type" id="type"  default=map.type type="value" nid="loan_type"  noselect="没有限制"/>
							<#else>
								<@linkage name="type" id="type"  type="value" nid="loan_type" noselect="没有限制"/>
							</#if>
						</li>
						
						<input type="submit" class="btn-action" id="search_btn" value="搜索"  />
						<input type="hidden" name="status" value="${searchStatus!0}"> 
						<input type="hidden" name="search" value="select"> 
						<input type="hidden" name="pageNum" value="6"> 
					</ul>
				</div>
			</div>
		</form>
        <div class="investitem mt10">
            <div class="title-greybg">
                <div class="title-redbg">
                    正在招标
                </div>
            </div>
        <div class="list-select clearfix">
		<div class="list-select-l">排序：${orderstr!}</div>
		</div>
		<!--   v1.6.7.2 理财宝显示 zhangyz 2013-12-09 start-->
		<div class="investitem-box">
		<#include "../common/treasure_invest.html"> 
		</div>
		<!--   v1.6.7.2 理财宝显示 zhangyz 2013-12-09 end-->
            <#if borrowList?? && borrowList?size gt 0>
	            <div class="investitem-box">
	                 <#list borrowList as item>
	                 <@indexListItem item=item />
	                 </#list>
	            </div>
	            <div align="center" class="mt10">
	            	<#import "../common/page.html" as pager>
	            	<!-- v1.6.6.2 RDPROJECT-375 lhm 2013-10-29 start -->
	            	<@pager.pagination page=p url="/invest/index.html?search=select&status="+status! map=map style="style1" />
	            	<!-- v1.6.6.2 RDPROJECT-375 lhm 2013-10-29 end -->
	            </div>
            <#else>
            	<div align="center" >没有信息</div>
            </#if>
        </div>
    </div>
</div>
    
	<!--main end-->
	<#include "../include/footer.html"> 
</body>
</html>
